package cn.darkhorse.ticket.production.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 工序任务
 * </p>
 *
 * @author wangxinghui
 * @since 2024-01-30
 */
@Getter
@Setter
  @TableName("ticket_task")
@ApiModel(value = "TicketTask对象", description = "工序任务")
public class TicketTask implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;
      
      @ApiModelProperty("工单编码")
      private String ticketInfoCode;
      
      @ApiModelProperty("工艺编码")
      private String procedureCode;
      
      @ApiModelProperty("工艺名称")
      private String procedureName;

      @ApiModelProperty("工序状态")
      private Integer procedureStates;

      @ApiModelProperty("计划生产周期-开始")
      private LocalDate planedStartTime;

      @ApiModelProperty("计划生产周期-结束")
      private LocalDate planedEndTime;

      @ApiModelProperty("顺序")
      private Integer orderNumber;
      @ApiModelProperty("质检状态")
      private Integer inspectionStates;

    private LocalDateTime gmtCreate;

    private LocalDateTime gmtModified;


}
